import React from 'react';
import { StatusBar } from 'react-native'
import Navigator from './navigator';
import { Provider } from 'react-redux';
import store from './config/dva';
import { RootSiblingParent } from 'react-native-root-siblings';
import { enableScreens } from 'react-native-screens';
import '@/config/http';

enableScreens();

function App() {
  return (
    <Provider store={store}>
      <RootSiblingParent>
        <Navigator></Navigator>
      </RootSiblingParent>
      <StatusBar
        backgroundColor="transparent"
        barStyle="dark-content"
        translucent
      />
    </Provider >
  )
}

export default App